<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.css" />
    <style>
      .wrap {
        width: 350px;
        font-size: 16px;
      }
      ul {
        margin: 0 auto;
        padding: 10px 0 10px;
        height: 250px;
        padding: 0 10px;
        overflow: auto;
      }
      ul li {
        padding: 8px 0;
        border-bottom: 1px dashed #999;
      }
      ul li::marker {
        display: none;
      }
      ul li:last-of-type {
        border-bottom: none;
      }
      .row-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
      .title-wrap{
        display: flex;
        flex-direction: row;
      }
      .badge {
        font-size: 12px;
        background: #ff2323;
        color: #fff;
        border-radius: 10px;
        padding: 0 5px;
        display: flex;
        align-items: center;
        transform: translate(0, -5px);
      }
      ul li img {
        cursor: pointer;
      }

      ul li .title {
        text-decoration: none;
        display: block;
        font-size: 18px;
      }

      ul li a {
        text-decoration: none;
        display: block;
        font-size: 14px;
      }
      .header-wrap {
        padding: 10px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
      }
      .header-wrap input {
        outline: none;
        flex: 1;
        padding: 4px;
        font-size: 13px;
      }

      .header-wrap .icon-wrap{
        width: 24px;
        height: 24px;
        margin: 0 0 0 12px;
      }

      .icon-change {
        width: 24px;
        height: 24px;
        /* animation: rotate 6s linear 0s infinite; */
      }

      @keyframes rotate {
        from {
          transform: rotateY(0deg);
        }
        to {
          transform: rotateY(360deg);
        }
      }
    </style>
  </head>
  <body>
    <div class="wrap">
      <div class="header-wrap">
        <input id="inputRef" type="text" />
        <button id="addBtnRef">添加</button>
        <button id="refreshBtnRef">刷新</button>
        <div id="iconChangeRef" class="icon-wrap">
          <img class="icon-change" src="../img/chang.svg" />
        </div>
      </div>
      <ul id="listWrapRef"></ul>
    </div>
    <script src="./popup.js" type="module"></script>
  </body>
</html>
